import request from '@/utils/request'

// 获取水电配置
export function getInfo() {
  return request({
    url: '/apartment/water-electricity-config',
    method: 'get',
  })
}

// 编辑水电
export function edit(data) {
  return request({
    url: '/apartment/water-electricity-config',
    method: 'put',
    data: data
  })
}

export default {
  getInfo,
  edit
}